package net.apexes.demo.codegen.dslite.entity;


/**
 * GoodsComboItemGroup. the database table "GOODS_COMBO_ITEM_GROUP"
 */
public class GoodsComboItemGroup extends net.apexes.demo.codegen.entity.base.EntityBase {

    private static final long serialVersionUID = 1L;

    /**
     * NAME
     */
    private String name;

    /**
     * GOODS_ID
     */
    private String goodsId;

    /**
     * MIN_QTY
     */
    private java.math.BigDecimal minQty;

    /**
     * MAX_QTY
     */
    private java.math.BigDecimal maxQty;

    /**
     * SEQ_ORDER
     */
    private Integer seqOrder;

    /**
     * TEMPLATE_ID
     */
    private String templateId;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public java.math.BigDecimal getMinQty() {
        return minQty;
    }

    public void setMinQty(java.math.BigDecimal minQty) {
        this.minQty = minQty;
    }

    public java.math.BigDecimal getMaxQty() {
        return maxQty;
    }

    public void setMaxQty(java.math.BigDecimal maxQty) {
        this.maxQty = maxQty;
    }

    public Integer getSeqOrder() {
        return seqOrder;
    }

    public void setSeqOrder(Integer seqOrder) {
        this.seqOrder = seqOrder;
    }

    public String getTemplateId() {
        return templateId;
    }

    public void setTemplateId(String templateId) {
        this.templateId = templateId;
    }

    public void cloneFrom(GoodsComboItemGroup from) {
        this.name = from.name;
        this.goodsId = from.goodsId;
        this.minQty = from.minQty;
        this.maxQty = from.maxQty;
        this.seqOrder = from.seqOrder;
        this.templateId = from.templateId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(super.toString());
        sb.append(",name=").append(name);
        sb.append(",goodsId=").append(goodsId);
        sb.append(",minQty=").append(minQty);
        sb.append(",maxQty=").append(maxQty);
        sb.append(",seqOrder=").append(seqOrder);
        sb.append(",templateId=").append(templateId);
        return sb.toString();
    }

    @Override
    public int hashCode() {
        return super.hashCode();
    }

    @Override
    public boolean equals(Object obj) {
        return super.equals(obj);
    }

}

